package cn.zebra.dev.product.module.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("groups")
@Getter
@Setter
public class GroupEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long parentId;

    @TableField(exist = false)
    private String parentName;

    private String groupName;

    private String groupImage;

    private Integer sort;

    private Boolean showFlag;

    private Boolean deleteFlag;

    private LocalDateTime createTime;

    private Long createId;

    private Long updateId;

    private LocalDateTime updateTime;
}
